package com.example.eureka_order.dao.wechat;

import com.example.eureka_order.model.UserInf;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserInfDao {

    @Insert("insert into UserInf values(#{user.name},#{user.age})")
    int insert(@Param("user") UserInf userInf);


}
